export const SET_TOKEN = (name,info)=> {
    localStorage.setItem(name,info)
} 
export const GET_TOKEN = (name)=>{
    if(name!=="token") {
        return JSON.parse(localStorage.getItem(name))
    }else{
        return localStorage.getItem(name)
    }
}
export const REMOVE_TOKEN = (name)=>{
    localStorage.removeItem(name)
}